package com.noahplat.oauth.utils;

import javax.validation.constraints.NotEmpty;

/**
 * @ClassName: LoginParam
 * @Description: 前端登录数据包 DTO
 * @Author 李景星
 * @Date 2021/2/27
 * @Version 1.0
 */
public class LoginParam {

    @NotEmpty(message = "用户名不能为空")
    private String username;    //登录名
    @NotEmpty(message = "登录密码不能为空")
    private String password;    //登录密码
    @NotEmpty(message = "用户登录标识不能为空")
    private String userType;    //登录方式： 0-PC,1-APP，2-pc&app
    @NotEmpty(message = "系统标识不能为空")
    private String stid;    //系统标识，用于区分是哪个系统

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getStid() {
        return stid;
    }

    public void setStid(String stid) {
        this.stid = stid;
    }
}
